What is baba egyptian god?

Baba or Babi is an ancient Egyptian god depicted as a baboon or a man with the head of a baboon. He was associated with fertility, sexuality, and virility and was often depicted with an erect phallus. Baba was also believed to protect the deceased on their journey to the afterlife and was sometimes depicted as a guide for the soul. He was particularly venerated in the city of Hermopolis, where he was considered one of the eight gods of creation who emerged from the primordial chaos. Baba was also associated with the god Thoth, who was worshipped as the god of writing, wisdom, and the moon.